
<div class="ModuleBlock">
<h1>
<label>Contacts</label>

</h1>
<div class="clear"></div>
<div class="ModuleHig">
<div class="MarBot10 pad_bt5 txt_sm">
  <div class="Fright">
  <a class="BtGray" href="/contacts/index/add-contact">Add Contact</a>
  <a class="BtGray" href="/contacts/index/groups">Groups</a>
  <a class="BtGray" href="javascript:void(0);" onclick="deleteAll('All');">Delete</a>
  </div>
  <div class="clear"></div>
  </div>

<div class="clear"></div>
	<div  id="listContent">
	<tal:block tal:content="structure php: this.partial('/index/friends-list.html')"/>
	</div>

</div>


<div class="clear"></div>
</div>
<script type="text/javascript">
//<![CDATA[
	pagination = new Array();
	pagination['currentPage'] = "<?=$ctx->getContatcts['currentPage']?>";
	pagination['resultsPerPage'] = "<?=$ctx->getContatcts['resultPerPage']?>";
	pagination['pages'] = "<?= $ctx->getContatcts['pages']?>";  
	pagination['pager'] = '<?=$ctx->getContatcts["pager"]?>';
	pagination['resultsCount'] = "${getContatcts/resultsCount}" ;
	
	var Params='${params}';
	//alert(pagination['resultsCount']+'  '+Params);
	var requestUrl = "/contacts/index/pagination/0/";
	$(document).ready(function () {
	   setPagination(pagination['resultsCount'],'topPagerId','downPagerId','','');
	});


//]]>
</script>
<script type="text/javascript">			
function showSearchSection(){
	serVale = $('#serValue').val();
	//alert(serVale);
	ajaxPager(1,serVale);
}
</script>
